package com.Darkra1Zzz.service.impl;

import com.Darkra1Zzz.dao.MainDao;
import com.Darkra1Zzz.entity.Type;
import com.Darkra1Zzz.service.MainService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author Darkrai
 * @Date: 2021/6/16 16:41
 * @Version 1.0
 */

@Service
public class MainServiceImpl implements MainService {

    @Resource
    private MainDao mainDao;


    @Override
    public List<Type> queryAllHangYe() {
        return mainDao.queryAllHangYe();
    }

    @Override
    public List<Type> queryAllJiBie() {
        return mainDao.queryAllJiBie();
    }
}
